home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Applications / AppKiller 1.2.1 / src / ak_ppc.c < prev    next >
Encoding:
Text File  |  1996-01-04  |  2.5 KB  |  21 lines  |  [TEXT/CWIE]

  1. unchBlockID = extendedBlock;
  2.         launchParams.launchEPBLength = extendedBlockLen;
  3.         launchParams.launchFileFlags = 0;
  4.         launchParams.launchControlFlags = launchContinue // keep us alive
  5.                                           + launchNoFileFlags;
  6.         launchParams.launchAppSpec = &(theSFR.sfFile);
  7.         launchParams.launchAppParameters = NULL;
  8.         
  9.         err = LaunchApplication(&launchParams);            // 2)
  10.         
  11.         if (err != noErr) DoAlert("\pSorry, an error occured and",
  12.             "\pSystem 7 choked.", "\p", "\p");
  13.     } /* if user selected file... */
  14.     
  15.     return;                                                // 3)
  16. } /* DoLaunch() */
  17.  
  18.  
  19.  
  20.  
  21.